/**
 * @Description
 * @author 20155870 杨润增
 * @create 2018-06-09 21:23
 **/
package com.campus_information_portal.entity;

import com.campus_information_portal.util.DateJsonType;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import java.util.Date;

/**
 * @className StuPunish
 * @Description
 * @author 20155870 杨润增
 * @create 2018-06-09 21:23
 **/
public class StuPunish {
    private int stuInfoId;
    private Integer academyId;
    private int stuNum;
    private String stuName;
    private int stuSex;
    private String stuIdcardNum;
    private String academyName;
    private int punishId;
    @JsonSerialize(using = DateJsonType.class)
    private Date punishTime;
    private String punishType;
    private int status;

    public int getStuInfoId() {
        return stuInfoId;
    }

    public void setStuInfoId(int stuInfoId) {
        this.stuInfoId = stuInfoId;
    }

    public Integer getAcademyId() {
        return academyId;
    }

    public void setAcademyId(Integer academyId) {
        this.academyId = academyId;
    }



    public int getStuNum() {
        return stuNum;
    }

    public void setStuNum(int stuNum) {
        this.stuNum = stuNum;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public int getStuSex() {
        return stuSex;
    }

    public void setStuSex(int stuSex) {
        this.stuSex = stuSex;
    }

    public String getStuIdcardNum() {
        return stuIdcardNum;
    }

    public void setStuIdcardNum(String stuIdcardNum) {
        this.stuIdcardNum = stuIdcardNum;
    }

    public String getAcademyName() {
        return academyName;
    }

    public void setAcademyName(String academyName) {
        this.academyName = academyName;
    }

    public int getPunishId() {
        return punishId;
    }

    public void setPunishId(int punishId) {
        this.punishId = punishId;
    }

    public Date getPunishTime() {
        return punishTime;
    }

    public void setPunishTime(Date punishTime) {
        this.punishTime = punishTime;
    }

    public String getPunishType() {
        return punishType;
    }

    public void setPunishType(String punishType) {
        this.punishType = punishType;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "StuPunish{" +
                "stuInfoId=" + stuInfoId +
                ", academyId=" + academyId +
                ", stuNum=" + stuNum +
                ", stuName='" + stuName + '\'' +
                ", stuSex=" + stuSex +
                ", stuIdcardNum='" + stuIdcardNum + '\'' +
                ", academyName='" + academyName + '\'' +
                ", punishId=" + punishId +
                ", punishTime=" + punishTime +
                ", punishType='" + punishType + '\'' +
                ", status=" + status +
                '}';
    }
}
